<?php

use yii\helpers\Html;
use yii\widgets\ListView;
use yii\helpers\Url;

$this->title = $chapter['title'].' - '.$novel['novelName'];
?>
<div class="site-index">
    <!--<h1><?php //echo $type['tagName']. ' &gt; '. $novel['novelName']?></h1>-->
    <div class="container">
        <?php if(!empty($data)){?>
        <h3 class="chapterTitle"><?=$data['title']?></h3>
        <!--<h3><?php //='作者：'.$data['author']?></h3>-->
        <div class="content"><?=$data['content']?></div>
        <?php }else{?>
        <div>未找到相关章节</div>
        <?php }?>
    </div>
</div>
